package com.atguigu.guli.servicecms.service;

import com.atguigu.guli.servicecms.entity.Banner;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 首页banner表 服务类
 * </p>
 *
 * @author atguigu
 * @since 2021-08-05
 */
public interface BannerService extends IService<Banner> {

    List<Banner> selectIndexList();

    void saveBanner(Banner banner);

    void updateBanner(Banner banner);

    void removeBanner(String id);

}
